
package rpc;

// guarada la info de un servicio , su numero de parametros, su id, y su nombre.
public class ServerService {
    
        private int id=0;
	private String service_name="";
	private int num_parametros=0;
	
	public ServerService(){}
	
	public ServerService(int id, String service_name, int num_parametros){
		this.id=id;
		this.service_name=service_name;
		this.num_parametros=num_parametros;
	}
	
	public void setId(int id){
		this.id=id;
	}
	
	public void setService(String service_name){
		this.service_name=service_name;
	}
	
	public void setParametros(int num_parametros){
		this.num_parametros=num_parametros;
	}
	
	public int getId(){
		return this.id;
	}
	
	public String getService(){
		return this.service_name;
	}
	
	public int getParametros(){
		return this.num_parametros;
	}
    
}
